package org.senzacontrollo.designPatterns.abstractFactory;

public class CDRecorder implements Recorder{
	
	CD cdInside;

	public void accept(Media media) {
		cdInside = (CD) media;
	}

	public void record(String sound) {
		cdInside.writeOnCd("I'm recording on CDRecorder " + sound);
	}
	
	

}
